<li class="post_item">
  <div class="excerpt">
    <div class="excerpt_header">
      <h3 class="post_link">
        <a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | markdownify  }}</a>
      </h3>
      {{ partial "post/component/post-meta" . }}
    </div>
    <div class="excerpt_footer {{ with .Params.thumbnail }}partition{{ end }}">
      {{- with .Params.thumbnail }}
      <div class="excerpt_thumbnail">
        {{- partial "post/component/image" (dict "file" . "alt" $.Title "type" "thumbnail" "Page" $.Page ) }}
      </div>
      {{- end }}
      <div class="pale">
        {{- $summary := truncate 200 .Summary }}
        {{- if .Params.summary }}
          {{- $summary = .Params.summary }}
        {{- else if .Params.abstract }}
          {{ $summary = .Params.abstract }}
        {{- end }}
        {{ if not ( strings.Contains $summary "<p>" ) }}
          <p>{{ $summary | markdownify }}</p>
        {{ else }}
          {{ $summary | markdownify }}
        {{ end }}
        <br>
        {{- $r := T "read_more" }}
        <a href="{{ .Permalink }}" title="{{ $r }}" class="excerpt_more button">{{ $r }}</a>
      </div>
    </div>
  </div>
</li>
